/**
 * This object provides the latitude and longitude of a geographic point.
 * 
 * @author Kim Pommert
 * @version %I%, %G%
 */
qx.Class.define("qooxdoosample.cocktail.util.LatLng",
{
	extend: qx.core.Object,
	
	/**
	 * Class constructor.
	 * Instantiates an object of that class.
	 * 
	 * @param lat	{Float} The latitude of the point
	 * @param lng	{Float} The longitude of the point
	 */
	construct: function(lat, lng)
	{
		this.setLatitude(lat);
		this.setLongitude(lng);	
	},
	
	properties :
	{
		/**
		 * The latitude of the location.
		 */
    	latitude:
    	{
      		nullable: true,
      		init: null,
      		check: "Number"
      	},
      	
      	/**
      	 * The longitude of the location.
      	 */
      	longitude:
      	{
      		nullable: true,
      		init: null,
      		check: "Number"
      	}
	}

});